﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="events.aspx.cs" Inherits="Hotel2.events" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="css/blue.css" media="screen">
    <link rel="stylesheet" type="text/css" href="css/events.css" media="screen">
    <script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" language="javascript" charset="utf-8" src="js/nav.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <div class="content">
		<div class="article">
			<div class="ArticleContent">
				<h1>Events</h1>
				

            <div class="leftNav">
		    <div class="navigationEvents">
			    <ul id="menuNav">
				    <li id="homenav"><a href="events.aspx" class="clean">All</a></li>
				    <li id="newsnav"><a href="#" class="link">By Date</a>
					    <ul>
						    <li>
                                <asp:Calendar ID="Calendar1" runat="server" Font-Size="Smaller" 
                                    onselectionchanged="Calendar1_SelectionChanged"></asp:Calendar>
                            </li>
					    </ul>
				    </li>
				    <li id="eventsnav"><a class="link" href="#">By Search</a>
					    <ul>
						    <li>
                                <asp:TextBox ID="SearchBox" runat="server"></asp:TextBox></li>
						    <li><asp:LinkButton ID="search" runat="server" CssClass="link" OnClick="search_Click">Search</asp:LinkButton></li>
					    </ul>
				    </li>
				    <li id="venuesnav"><a href="#" class="link">By Sport</a>
					    <ul>
						    <li><asp:LinkButton ID="Sport1" runat="server" CssClass="link" OnClick="venue1_Click">Sport #1</asp:LinkButton></li>
						    <li><asp:LinkButton ID="Sport2" runat="server" CssClass="link" OnClick="venue1_Click">Sport #2</asp:LinkButton></li>
					    </ul>
				    </li>
				    <li id="sportsnav"><a href="#" class="link">By Venue</a>
					    <ul>
						    <li><asp:LinkButton ID="venue1" runat="server" CssClass="link" OnClick="venue1_Click">Venue #1</asp:LinkButton></li>
						    <li><asp:LinkButton ID="venue2" runat="server" CssClass="link" OnClick="venue1_Click">Venue #2</asp:LinkButton></li>
					    </ul>
				    </li>
				
				    <!-- Extra Blank Menu item
				    <li id="[name]nav"><a href="#">[name]</a>
					    <ul>
						    <li><a href="#">All [name]</a></li>
						    <li><a href="#">Add [name]</a></li>
					    </ul>
				    </li>
				
				    -->
			    </ul>
		    </div>
	
	    </div>
                <div class="mainContent">
                    <asp:Label ID="Label1" runat="server" Text="All Sports" CssClass="MainTitle"></asp:Label>
                    <asp:Table ID="Table1" runat="server" Height="97px" Width="537px" 
                        Font-Size="Medium" BorderColor="Gray" BorderWidth="1px">
                        <asp:TableRow ID="Test" runat="server" BackColor="Black" ForeColor="White">
                            <asp:TableCell runat="server">ID</asp:TableCell>
                            <asp:TableCell runat="server">Name</asp:TableCell>
                            <asp:TableCell runat="server">Date</asp:TableCell>
                            <asp:TableCell runat="server">Sport</asp:TableCell>
                            <asp:TableCell runat="server">Venue</asp:TableCell>
                            <asp:TableCell runat="server">Price</asp:TableCell>
                            <asp:TableCell runat="server">Actions</asp:TableCell>
                            <asp:TableCell runat="server">Ordered</asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow runat="server">
                            <asp:TableCell runat="server">1</asp:TableCell>
                            <asp:TableCell runat="server">Event Name</asp:TableCell>
                            <asp:TableCell runat="server">13/05/2012</asp:TableCell>
                            <asp:TableCell runat="server">Stadium</asp:TableCell>
                            <asp:TableCell runat="server">Sport Name</asp:TableCell>
                            <asp:TableCell runat="server">£100</asp:TableCell>
                            <asp:TableCell runat="server">
                            <asp:Button ID="Button1" runat="server" OnClick="Order_Click1" Text="Order" />
</asp:TableCell>
                            <asp:TableCell runat="server">
                                <asp:Label ID="orderedTickets1" runat="server" Text="0"></asp:Label>
</asp:TableCell>
                        </asp:TableRow>

                        <asp:TableRow ID="TableRow2" runat="server">
                            <asp:TableCell ID="TableCell1" runat="server">2</asp:TableCell>
                            <asp:TableCell ID="TableCell2" runat="server">Event Name</asp:TableCell>
                            <asp:TableCell ID="TableCell3" runat="server">13/05/2012</asp:TableCell>
                            <asp:TableCell ID="TableCell4" runat="server">Stadium</asp:TableCell>
                            <asp:TableCell ID="TableCell5" runat="server">Sport Name</asp:TableCell>
                            <asp:TableCell ID="TableCell6" runat="server">£100</asp:TableCell>
                            <asp:TableCell ID="TableCell7" runat="server">
                            <asp:Button ID="Button2" runat="server" OnClick="Order_Click2" Text="Order" />
</asp:TableCell>
                            <asp:TableCell runat="server">
                                <asp:Label ID="orderedTickets2" runat="server" Text="0"></asp:Label>
                            </asp:TableCell>
                            </asp:TableRow>

                        
                    </asp:Table>
        
                    <asp:Label ID="Break" runat="server"><br /><br /></asp:Label>
                    <asp:Label ID="eventOrderSuccess" CssClass="successNotice" runat="server"></asp:Label>
                </div>

			</div>
		
		</div>
				
	</div>

</asp:Content>
